all:publish consume

publish:publish.cc
	g++ -g -o $@ $^ -std=c++17 -lamqpcpp -lev -lfmt -lspdlog -lgflags
consume:consume.cc
	g++ -g -o $@ $^ -std=c++17 -lamqpcpp -lev -lfmt -lspdlog -lgflags

.PHONY:clean
clean:
	rm -rf publish consume